package com.gxa.service.gouhuoservice.Impl;

import com.gxa.common.R;
import com.gxa.mapper.gouhuomapper.CangKu46Mapper;
import com.gxa.pojo.CangKu;
import com.gxa.service.gouhuoservice.CangKu46Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class CangKu46ImplService implements CangKu46Service {

    @Autowired
    private CangKu46Mapper cangKu46Mapper;

    @Override
    public R selectbyCangKu(String cangKuName) {
        R r= new R();
        List<CangKu> cangKus = cangKu46Mapper.selectbyCangKu(cangKuName);
        r.setCode(200);
        r.setMsg("查询成功！");
        r.setData(cangKus);
        return r;
    }
}
